FMSL New File Wizard

Purpose: To test the FMSL New File Wizard in Eclipse. We will complete the FMSL New File Wizard, verify its appearance, and verify its behaviour.

Setup:

  1. Install Eclipse Platform.
  2. Install FMSLEclipse plugin.
  3. Create a project.
Method:
  1. Start the workbench.
  2. Invoke File > New > Other. In the "Select a Wizard" dialog, select FMSL Wizards > FMSL File. Verify that the icon next to the wizard depicts a file with an "F" on it.
  3. Select Next button. Verify the image banner at the top of the wizard is correct.
  4. Enter "newfile" into the file name text box and verify the finish button is still ghosted.
  5. Enter "newfile.fm into the file name text box and verify the error "File extension must be "fmsl" " is displayed at the top of the wizard.
  6. Enter "newfile.fmsl into the file name text box and verify the finish button is available.
  7. Select Finish button. Verify the file has been created in the resource view and that it has been opened in an fmsl text editor.
  8. Repete the above steps and verify the wizard displays the error "The same name already exists."